package com.seo.service.user.sdk;

import java.util.Map;

import com.seo.pojo.ReturnBody;

import java.util.List;

public interface UserService {

	public ReturnBody login(int domainUserId, String userName, String pwd, String code);

	public ReturnBody register(int domainUserId, String userName, String password, String againPassword, String phone,
			String smsCode, String sInviteCode);

	public String getDomain(String userName, int userId, String state);
	
	public ReturnBody getUserByName(String userName);

	public ReturnBody getCheckUserByDomain(String domain);

	public List<Map<String, Object>> getUserList(Map<String, Object> params);

	public Map<String, Object> getUserById(Integer id);

	public Map<String, Object> getUserByInviteCode(String inviteCode);

	public Map<String, Object> getUserByPhone(String phone);

	public ReturnBody saveRegisterSmsCode(String phone);

	public Integer getUserCnt(Map<String, Object> params);

	public ReturnBody addUser(Map<String, Object> params);

	public ReturnBody deleteUser(Integer id);
	
	public ReturnBody deleteUserFalse(Integer id, String isDelete);

	public ReturnBody updateUser(Map<String, Object> params);
	
	public ReturnBody updateTemplet(Map<String, Object> params);

	public ReturnBody updateUserState(Integer id, String state);

	public ReturnBody updateUserPwd(Map<String, Object> params);

	public ReturnBody updateResetUserPwd(Map<String, Object> params);

	public ReturnBody updateProxyPrice(Map<String, Object> params);

	public Map<String, Object> getUserProxyById(int parseInt);

	public List<Map<String, Object>> getUserParent(Map<String, Object> user);

	public Map<String, Object> getPriceToVipLevel(Map<String, Object> map);

	public Map<String, Object> getUserPriceToVipLevel(Map<String, Object> ma);

	public int getUserPriceToVipLevelNum(int parseInt);

	public ReturnBody saveProxyPrice(Map<String, Object> params);
}
